@()(implicit request: RequestHeader)

<style>

		.navbar-nav {
			margin-bottom: -60px;
		}

		.nav > li > a {
			font-size: 15px;
		}

</style>

<div class="page-header">
	<div class="banner">
		<div class="logo">
			<h1><span style="font-size: 30px"><span style="font-size: 30px"> 广州市疾病预防控制中心本地样本致病微生物核酸序列数据库</span> </span>
				<font style="font-size: 23px">&nbsp;
				</font></h1>
		</div>
	</div>
	<nav class="navbar navbar-default">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#coll" aria-expanded="false">
				<span class="sr-only">Toggle navigation</span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
		</div>
		<div class="collapse navbar-collapse" id="coll">
			<ul class="nav navbar-nav">
				<li><a href="@routes.AppController.toIndex()">首页</a></li>

				<li class="dropdown">
					<a href="#">核酸序列 &nbsp;<span class="fa fa-caret-down"></span></a>
					<ul class="dropdown-menu">
						<li><a href="@routes.DataController.loadDataBefore()">核酸序列上传</a></li>
						<li><a href="@routes.DataController.sampleManage()">核酸序列管理</a></li>
					</ul>
				</li>

				<li><a href="@routes.BlastController.blastnBefore()">Blastn序列比对</a></li>

				<li class="dropdown">
					<a href="#">微生物鉴定 <span class="fa fa-caret-down"></span></a>
					<ul class="dropdown-menu">
						<li><a href="@routes.CentrifugeController.newMissionBefore()">新建任务</a></li>
						<li><a href="@routes.CentrifugeController.missionManageBefore()">任务管理</a></li>
						<li><a target="_blank" href="@routes.CentrifugeController.dataVisual()">数据结果可视化</a></li>
					</ul>
				</li>

				<li><a target="_blank" href="http://www.gzcdc.org.cn/about/index.html">关于我们</a></li>
				<li><a target="_blank" href="http://www.gzcdc.org.cn/contact/index.html">联系我们</a></li>


				@if(request.session.get("user").isDefined) {
					<li style="float: right;
						position: absolute;
						right: 25px" class="dropdown" align="right">
						<a href="#"><span class="fa fa-user"></span>
							@request.session.get("user")&nbsp;<span class="fa fa-caret-down"></span></a>
						<ul class="dropdown-menu">
							<li>
								<a href="@routes.UserController.changePasswordBefore()" id="loginA"> 修改密码</a>
							</li>
							<li>
								<a href="@routes.UserController.logout()" id="loginA"> 退出登录</a>
							</li>
						</ul>
					</li>
				} else {
					<li style="margin-left: 300px;">
						<a href="@routes.UserController.registerBefore()" id="loginA"><span class="fa fa-user"></span> 注册</a>
					</li>
					<li>
						<a href="@routes.AppController.loginBefore()" id="loginA"><span class="fa fa-user"></span> 登录</a>
					</li>
				}

			</ul>
		</div>
			<!--/.nav-collapse -->
	</nav>
</div>
